


#include <stdio.h>



int main()
{
	
	
	//按位取反
	

	
	unsigned short a = 0xFF;
	printf("按位取反前a的值是：%#x\n",a);
	
	a = ~a;
	printf("按位取反后a的值是：%#x\n",a);
	
	
	
	
	return 0;
}